home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Disc to the Future 2
/
Disc to the Future Part II Programmer's Reference (Wayzata Technology)(6013)(1992).bin
/
MAC
/
MPW_TOOL
/
TOOLS
/
TOOLS_WI
/
MACGAWK
/
MPW_3
/
MISSING
/
MEMCPY.C
< prev
next >
Wrap
Text File
|
1990-07-29
|
261b
|
19 lines
/*
* memcpy --- copy strings.
*
* We supply this routine for those systems that aren't standard yet.
*/
char *
memcpy (dest, src, l)
register char *dest, *src;
register int l;
{
register char *ret = dest;
while (l--)
*dest++ = *src++;
return ret;
}